package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum AdvertiseCategory {
    webredirect(0, "网页跳转"),
    inappredirect(1, "inappredirect"),
    view(2, "仅查看");

    @EnumValue
    private final int code;
    private final String desc;

    AdvertiseCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
